<template>
  <el-card body-style="min-height: 86vh">
    <el-table :data="tableData">
      <el-table-column label="类型" prop="type" width="120"></el-table-column>
      <el-table-column label="配件名称" prop="accessoryName" width="120"></el-table-column>
      <el-table-column label="配件编号" prop="accessoryNo" width="120"></el-table-column>
      <el-table-column label="类别" prop="accessoryType" width="120"></el-table-column>
      <el-table-column label="客户姓名" prop="name" width="120"></el-table-column>
      <el-table-column label="联系方式" prop="phone" width="120"></el-table-column>
      <el-table-column label="车牌号" prop="carNumber" width="120"></el-table-column>
      <el-table-column label="单位" prop="accessoryUnit" width="120"></el-table-column>
      <el-table-column label="数量" prop="accessoryNumber" width="120"></el-table-column>
      <el-table-column label="成本" prop="accessoryCost" width="120"></el-table-column>
      <el-table-column label="单价" prop="accessoryPrice" width="120"></el-table-column>
      <el-table-column label="成本总额" prop="accessAllCost" width="120"></el-table-column>
      <el-table-column label="总价" prop="accessoryAllPrice" width="120"></el-table-column>
      <el-table-column label="操作人" prop="accessoryPerson" width="120"></el-table-column>
      <!-- <el-table-column label="操作" width="180" fixed="right"></el-table-column> -->
    </el-table>
  </el-card>
</template>
<script setup lang="ts">
import { useInitTable } from "@/hooks/useCommon";
const tableData = [
  {
    type: "入库",
    accessoryName: "空调滤芯(临采)",
    accessoryNo: "PJ10000123u3",
    accessoryType: "保养",
    name: "lucas",
    phone: "15727763398",
    carNumber: "赣A23423",
    accessoryUnit: "个",
    accessoryNumber: 1,
    accessoryCost: "120",
    accessoryPrice: "180",
    accessAllCost: "120",
    accessoryAllPrice: "180",
    accessoryPerson:"何莫"
  }
];
// const {} = useInitTable({});
</script>
<style scoped lang="scss"></style>
